#ifndef SSLHELPER_TEAINIFILE_H_
#define SSLHELPER_TEAINIFILE_H_

#include "inifile.h"

namespace Zen{ namespace utility{ namespace ini{

class TEAIniFile : public IniFile
{
public:
    TEAIniFile(int rounds=32);
    virtual bool Encrypt(ostream& encrypted, istream& decrypted) const;
    virtual bool Decrypt(ostream& decrypted, istream& encrypted) const;

private:
    int rounds_;
};

class TEAIniFile2 : public IniFile
{
public:
	TEAIniFile2(int rounds = 16){};
	virtual bool Encrypt(ostream& encrypted, istream& decrypted) const;
	virtual bool Decrypt(ostream& decrypted, istream& encrypted) const;

private:
	int rounds_;
};


}}}
#endif // SSLHELPER_TEAINIFILE_H_